<?php

/**
 * main-local.php
 *
 * Set this file to write your local development settings. Settings will be merged with the main-env.php file, and the
 * results of the merge into main.php.
 */
return array(
    'modules' => array(
        'gii' => array(
            'class' => 'system.gii.GiiModule',
            'password' => false,
        ),
        //enable login with social provider
        'hybridauth' => array(
            'class' => 'application.modules.hybridauth.HybridauthModule',
            'baseUrl' => 'http://localhost/yii/mycms/index.php/hybridauth',
            'withYiiUser' => TRUE, // Set to true if using yii-user
            "providers" => array(
                "openid" => array(
                    "enabled" => true
                ),
                "yahoo" => array(
                    "enabled" => true
                ),
                "google" => array(
                    "enabled" => true,
                    "keys" => array("id" => "807397577789-40jvfmir2un5vc2a23ev4rqbl0hvp4kc.apps.googleusercontent.com", "secret" => "TyHT1dRNVCif1YhbU7vHIz5F"),
                    "scope" => "https://www.googleapis.com/auth/userinfo.profile " .
                    "https://www.googleapis.com/auth/userinfo.email"
                ),
                "facebook" => array(
                    "enabled" => true,
                    "keys" => array("id" => "", "secret" => ""),
                    "scope" => "email,publish_stream",
                    "display" => ""
                ),
                "twitter" => array(
                    "enabled" => true,
                    "keys" => array("key" => "", "secret" => "")
                )
            ),
        )
    ),
);